function LoadPost(uid)
{
JsHttpRequest.query(
	            '_post.php?loadpost', // backend
	            {
	            	'uid': uid
	            },
	            // Function is called when an answer arrives.
	            
	            function(result, errors) {
	                // Write the answer.
	              document.getElementById(uid).innerHTML = result["Response"]["post"];							               
	            },
	            true  // disable caching
       		);
}

function expandload(obj)
	{
		var curvis;
		curvis = document.getElementById(obj).style.display;
		if (curvis == "none") 
		{
			document.getElementById(obj).style.display = "block";
			if (document.getElementById(obj).innerHTML == "")
			{
				LoadPost(obj);
			}
		}
 		else 
		{
			document.getElementById(obj).style.display = "none";
		}
	};	